package com.student.dong.service.impl;

import com.student.dong.entity.SysUser;
import com.student.dong.mapper.SysUserMapper;
import com.student.dong.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Program: animalSystem->UserServiceImpl
 * @Description:
 * @Author: donghang
 * @Date: 2023-03-20 19:54
 * @Version： 1.0
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(SysUser record) {
        return 0;
    }

    @Override
    public int insertSelective(SysUser record) {
        return 0;
    }

    @Override
    public SysUser selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public SysUser selByName(String userName) {
        return sysUserMapper.selByName(userName);
    }

    @Override
    public int updateByPrimaryKeySelective(SysUser record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(SysUser record) {
        return 0;
    }
}
